<!DOCTYPE html>
<html lang="zh-CN">
  <head>
   <#include "/header.html" parse=true>
  </head>
  <body>
  <#include "/nav.html" parse=true>
	<div class="main-box">
		<div class="container">
		    <div class="row">
               <#include "/menu.html" parse=true>
				<div class="span9">
					<ul class="breadcrumb">
						<li>欢迎登陆系统 【${session.getAttribute("login")}】<span class="divider">/</span> 现在是 ${context.getDateTime()} </li>
					</ul>
						
						<table class="table  table-bordered table-striped " >
						 <thead>
						    <tr>
						      <th>系统信息</th>
						    </tr>
						  </thead>
						  <tbody>
						    <tr>
						      <td>系统版本：</td>
						      <td>${session.getAttribute("version")}</td>
						      <td>已运行时间：</td>
						      <td>${context.getUptime()}</td>
						      <td>内存使用：</td>
						      <td>${context.getMemaryUsing()}</td>
						    </tr>						  
						    <tr>
						      <td>当前登陆IP地址：</td>
						      <td>${session.getAttribute("loginIp")}</td>
						      <td>最后登录时间：</td>
						      <td>${session.getAttribute("lastLogin")}</td>
						      <td>当前在线：</td>
						      <td>${onlineNum!!}/${userTotal}</td>
						    </tr>
						    </tbody>
						</table>		
						<table class="table table-bordered table-striped">
						 <thead>
						    <tr>
						      <th>统计信息  </th>
						    </tr>
						  </thead>
						  <tbody>
						    <tr>
						      <td>
								<ul>
								  <li>认证包总数：${radius.getAuthAll()} </li>
								  <li> 认证接受包：${radius.getAuthAccept()} </li>
								  <li>认证拒绝包：${radius.getAuthReject()} </li>
								  <li>认证丢弃包：${radius.getAuthAbandon()}</li>
								</ul>						      
                              </td>
						      <td>
								<ul>						      
									<li>记帐包总数：${radius.getAcctAll()} </li>
									<li>记帐上线包：${radius.getAcctStart()} </li>
									<li>记帐更新包：${radius.getAcctUpdate()} </li>
									<li>记帐下线包：${radius.getAcctStop()} </li>
									<li>记帐开始包：${radius.getAcctOn()} </li>
									<li>记帐结束包：${radius.getAcctOff()} </li>
									<li>记帐丢弃包：${radius.getAcctAbandon()} </li>
								</ul>						      
						      </td>
						    </tr>	    
						    </tbody>
						</table>											

				</div>
			</div>
		</div>
    </div > <!-- /container -->
  <#include "/footer.html" parse=true>
  </body>
</html>
